package com.ling.pl.demo.model;

/**
 * Created by bo.wang on 2016/12/31.
 */


import com.ling.pl.core.commons.annotation.ModelProperty;
import com.ling.pl.core.model.impl.BaseEntity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.util.Date;

/**
 * 测试demo类.
 */
@MappedSuperclass
@ModelProperty(comment = "测试Builder")
public class BaseDemo extends BaseEntity {

    @ModelProperty(comment = "纳税主体ID")
    @Column(name = "LEGAL_ENTITY_ID", length = 36)
    private String legalEntityId;

    @ModelProperty(comment = "源科目代码")
    @Column(name = "SOURCE_ACCOUNT_CODE", length = 240)
    private String sourceAccountCode;

    @ModelProperty(comment = "源科目名称")
    @Column(name = "SOURCE_ACCOUNT_NAME", length = 240)
    private String sourceAccountName;

    @ModelProperty(comment = "源科目描述")
    @Column(name = "SOURCE_ACCOUNT_DES", length = 240)
    private String sourceAccountDes;

    @ModelProperty(comment = "源科目类型")
    @Column(name = "SOURCE_ACCOUNT_TYPE", length = 240)
    private String sourceAccountType;

    @ModelProperty(comment = "关键字搜索")
    @Column(name = "SOURCE_ACCOUNT_TAG", length = 240)
    private String sourceAccountTag;

    @ModelProperty(comment = "是否启用")
    @Column(name = "IS_ENABLE", length = 1)
    private Boolean isEnable;

    @ModelProperty(comment = "开始日期")
    @Column(name = "SOURCE_BEG_DATE", length = 10)
    private Date sourceBegDate;

    @ModelProperty(comment = "结束日期")
    @Column(name = "SOURCE_END_DATE", length = 10)
    private Date sourceEndDate;

    public String getLegalEntityId() {
        return legalEntityId;
    }

    public void setLegalEntityId(String legalEntityId) {
        this.legalEntityId = legalEntityId;
    }

    public String getSourceAccountCode() {
        return sourceAccountCode;
    }

    public void setSourceAccountCode(String sourceAccountCode) {
        this.sourceAccountCode = sourceAccountCode;
    }

    public String getSourceAccountName() {
        return sourceAccountName;
    }

    public void setSourceAccountName(String sourceAccountName) {
        this.sourceAccountName = sourceAccountName;
    }

    public String getSourceAccountDes() {
        return sourceAccountDes;
    }

    public void setSourceAccountDes(String sourceAccountDes) {
        this.sourceAccountDes = sourceAccountDes;
    }

    public String getSourceAccountType() {
        return sourceAccountType;
    }

    public void setSourceAccountType(String sourceAccountType) {
        this.sourceAccountType = sourceAccountType;
    }

    public String getSourceAccountTag() {
        return sourceAccountTag;
    }

    public void setSourceAccountTag(String sourceAccountTag) {
        this.sourceAccountTag = sourceAccountTag;
    }

    public Boolean getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Boolean isEnable) {
        this.isEnable = isEnable;
    }

    public Date getSourceBegDate() {
        return sourceBegDate;
    }

    public void setSourceBegDate(Date sourceBegDate) {
        this.sourceBegDate = sourceBegDate;
    }

    public Date getSourceEndDate() {
        return sourceEndDate;
    }

    public void setSourceEndDate(Date sourceEndDate) {
        this.sourceEndDate = sourceEndDate;
    }
}